package com.notary.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;


import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * <p>
 * 公证事项表
 * </p>
 *
 * @author xujun
 * @since 2020-07-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_notary_item")
@ApiModel(value = "NotaryItem对象", description = "公证事项表")
public class NotaryItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公证事项id")
    @TableId(value = "id", type = IdType.ID_WORKER)
    private String id;

    @ApiModelProperty(value = "公证处id")
    private String officeId;

    @ApiModelProperty(value = "公证事项上级id")
    private String pid;

    @ApiModelProperty(value = "公证事项名称")
    private String name;

}
